from django import forms
from .models import Grades

class GradeForm(forms.ModelForm):
    
    class Meta: # 创建元函数
        model = Grades
        fields = ['grade_name','grade_number']
        